<?php
/**
 * Created by PhpStorm OF Administrator.
 * User: YUYI
 * Date: 2018/7/13 0013
 * Time: 上午 10:43
 * Administrator
 */

namespace app\api\validate;


use think\Validate;

class UserValidate extends Validate
{
    protected  $rule = [
        'page'=>'number'
        ,'size'=>'number'
    ];

    protected $scene = [
        'getCurrencyTradeList'=>['page','size','type','date','currencyId']
        ,'cancelTrade'=>['tid']
        ,'getTradeInfo'=>['trade_info_id']
        ,'getTradeList'=>['exchangeId']
    ];
}